package com.sunday.common.core.lambda;

import com.sunday.common.core.gson.GsonUtils;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.io.Serializable;

@Builder
@Data
public class LambdaEntity implements Serializable {

    @Tolerate
    public LambdaEntity() {
    }

    private long id;

    private String name;

    @Override
    public String toString() {
        return GsonUtils.DEFAULT.toJson(this);
    }

}
